home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bangkok 22
/
Bangkok 22.iso
/
ari.inf
next >
Wrap
Text File
|
1995-04-25
|
4KB
|
167 lines
DefineVariables
Number [ReturnVal1]
Number [ReturnVal2]
Number [ReturnVal3]
Number [ReturnVal4]
Number [ReturnVal5]
Number [ReturnVal6]
Number [ErrCount]
Directory [windir]
Directory [winsdir]
Logical [EnKeyb]
Logical [NetAvail]
Logical [MathPres]
Logical [CDAvail]
logical [Speicher]
Text [DispType]
Number [XMSAvail]
Number [ExtmemPagesActive]
Number [ExtmemPagesAvail]
Number [ExtMemAvail]
Number [ExtMemPres]
Number [ExpMempgavail]
Number [ExpMempgactive]
Text [osver]
Text [DosVer]
Text [EmsVer]
Text [ProdExecutable]
Text [GroupTitle] := ARIDATA
Text [GroupFile] := ARI.Grp
Text [ExistingGroupName]
Text [InstDir]
Text [FactsIconF]
Text [IconTitle]
Text [IconFile]
EndDefineVariables
[EnKeyb] := NoCharacter
[NetAvail] := NoCharacter
[MathPres] := NoCharacter
[CDAvail] := NoCharacter
Do SetupDisplay
Do CheckHardware
if [errcount] > 1
Dialog UseHeader "Es sind Probleme aufgetreten"
.L Die Installation is auf folgende Probleme getroffen,
.L Sie k÷nnen die Installation fortsetzen oder abbrechen.
[Array1][1]
[Array1][2]
[Array1][3]
[Array1][4]
[Array1][5]
[Array1][6]
[Array1][7]
EndDialog
endif
:start
:start
Do Install1
Solong
Procedure SetupDisplay
SetDefaultBitMap Off
SetBackGroundColor 0 0 0 0 0 255 TopToBottom
settoplineto "ARIDATA - Installation"
setpopupborderto none
SetPopupAttrTo YellowOnBlue
ShowWindow maximized
EndProcedure
Procedure Install1
CopyFiles From [installFromDrive]:\ari to [WindowsSystemDirectory]
curr.dll
fximg210.vbx
fxtls210.dll
fxvid210.vbx
spin.vbx
threed.vbx
vbrun300.dll
EndCopyFiles
[ProdExecutable] := [installFromDrive]:\ari\ARI.EXE
[IconTitle] := BANGKOK22
Do AddIcons
Dialog
Sollten Sie Video fⁿr Windows noch nicht
auf Ihrem Rechner installiert haben, so
k÷nnen Sie dies jetzt nachholen, indem Sie
das VFWSetup - Icon in Ihrem ARIDATA-Verzeichnis
anklicken
enddialog
solong
EndProcedure
Procedure CheckHardware
[Number3] := 1
[windir] := [WindowsDirectory]
[winsdir] := [WindowsSystemDirectory]
[ExtmemPagesActive] := ExtendedMemoryPagesActive
[ExtmemPagesAvail] := ExtendedMemoryPagesAvailable
[ExtMemAvail] := ExtendedMemoryAvailable
[ExtMemPres] := ExtendedMemoryPresent
[ExpMempgAvail] := ExpandedMemoryPagesAvailable
[ExpMempgActive] := ExpandedMemoryPagesActive
[osver] := OSVersion
[DosVer] := DOSVersion
[EmsVer] := EMSVersion
[Errcount] := [Number3]
EndProcedure
Procedure AddIcons
ProgramManagerDDe
CreateGroup([GroupTitle])
DeleteItem([IconTitle])
AddItem([ProdExecutable],[IconTitle])
[ProdExecutable] := notepad.exe
[IconTitle] := Readme
AddItem(notepad.exe [installFromDrive]:\ari\readme.txt, Readme)
AddItem([installFromDrive]:\vfw\setup.exe, VFWSetup)
EndProgramManagerDDE
EndProcedure
Procedure DDENonFatalErrorTrap
;; Purpose of DDENonFatalErrorTrap:
;; If a procedure with this name is present in the script and a non-fatal
;; Program Manager DDE error occurs, then this procedure will be executed.
;;
;; Possible Text Error Codes Are:
;; ddeExec%s failed (NOTE: the "%s" is replaced by error types)
;; ddeInitiate failed
;; pmAddItem failed
;; pmClose failed
;; pmCreateGroup failed
;;
;; To trap a DDENonFatalError and respond to it, use the following code
;; [Number1] := PositionOf "PMAddItem" in DDENonFatalError
;; If [Number1] > 0
;; Dialog
;; NonFatal error in AddItem occurred
;; Error Text : DDENonFatalError
;; EndDialog
EndProcedure